From cf15e526f34466c763c00a6726aa90b981f4311d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 16 Apr 2008 17:03:58 +0000 Subject: [PATCH] Actually pass in a db ;) --- includes/SpecialBlockip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 048a9a4244..20063c0ca7 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -366,7 +366,7 @@ class IPBlockForm { $log_type = ($this->BlockHideName) ? 'suppress' : 'block'; $log = new LogPage( $log_type ); $ok = $log->addEntry( 'block', Title::makeTitle( NS_USER, $this->BlockAddress ), - $reasonstr, $logParams ); + $reasonstr, $logParams, $dbw ); # Make sure logging got through if( !$ok ) { $dbw->rollback(); -- 2.20.1